home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d996.lha / Startup-Menu / install.script < prev    next >
Text File  |  1994-04-05  |  2KB  |  77 lines

  1.  
  2. ; Script file to install reqtools.library and Startup-Menu
  3.  
  4. FailAt 21
  5.  
  6. Version >NIL: exec.library 37
  7. If WARN
  8.     Echo "Your Amiga does not have AmigaDOS Release 2 (V37) or higher in ROM.*n"
  9.     Echo "Startup-Menu requires a least Release 2 - aborting."
  10.     Endcli >NIL:
  11. EndIf
  12.  
  13. ;********* INSTALLATION OF REQTOOLS.LIBRARY *********
  14.  
  15. Echo ""
  16. Echo ""
  17. Version >NIL: LIBS:reqtools.library
  18. If NOT ERROR
  19.    Echo "Version of reqtools.library already installed:"
  20.    Version LIBS:reqtools.library
  21.    Echo ""
  22. EndIf
  23.  
  24. GetOption/Getoption "OK go ahead" "No don't bother with it" "Install reqtools.library (v38.961) ?"
  25. If NOT WARN
  26.    Copy reqtools.library LIBS:reqtools.library
  27.    Echo "*nreqtools.library (2.0 version) copied to your Libs: directory."
  28.    Avail >NIL: FLUSH
  29. EndIf
  30.  
  31. ;********* INSTALLATION OF STARTUP-MENU *********
  32.  
  33. Echo ""
  34. Echo ""
  35.  
  36. Version >NIL: SYS:Prefs/SMPrefs
  37. If NOT ERROR
  38.    Echo "Version of SMPrefs already installed"
  39.    Version SYS:Prefs/SMprefs
  40.    Echo ""
  41. EndIf
  42.  
  43. GetOption/GetOption "OK go ahead" "No don't bother with it" "Install SMPrefs (v1.00) to SYS:Prefs?"
  44. If NOT WARN
  45.    Copy SMPrefs SYS:Prefs/
  46.    Copy SMPrefs.info SYS:Prefs/
  47.    Echo "*nSMPrefs copied to SYS:Prefs"
  48. EndIf
  49.  
  50. Version >NIL: C:Startup-Menu
  51. If NOT ERROR
  52.    Echo "Version of Startup-Menu already installed:"
  53.    Version C:Startup-Menu
  54.    Echo ""
  55. EndIf
  56.  
  57. GetOption/GetOption "OK go ahead" "No don't bother with it" "Install Startup-Menu to C:?"
  58. If NOT WARN
  59.    Copy Startup-Menu C:
  60.    Echo "*nStartup-Menu copied to C:"
  61. EndIf
  62.  
  63. GetOption/GetOption "OK go ahead" "No don't bother with it" "Install sample prefs files to S:?"
  64. If NOT WARN
  65.    Copy S/#? S: ALL
  66.    Echo "*nsample files copied to S:"
  67. EndIf
  68.  
  69.  
  70.  
  71. Echo "Installation complete.*n"
  72.  
  73. Wait 5
  74. EndCLI >NIL:
  75.  
  76.  
  77.